﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="CadastrodeVagas.aspx.cs" Inherits="PortalDeEmpregos.CadastrodeVagas" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id="corpo"> <h2>Cadastro de Profissional</h2>
    <h3>Dados Pessoais</h3> 
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
        AutoGenerateColumns="False" DataSourceID="SqlDataSource1" 
        EmptyDataText="There are no data records to display." Width="199px">
        <Columns>
            <asp:BoundField DataField="VGCDESCRICAO" HeaderText="Descrição:" 
                SortExpression="VGCDESCRICAO" />
            <asp:BoundField DataField="VGNCARGAHORARIA" HeaderText="Carga Horária:"  
                SortExpression="VGNCARGAHORARIA" />
            <asp:BoundField DataField="VGNDURACAODIAS" HeaderText="Duração Dias:" 
                SortExpression="VGNDURACAODIAS" />
            <asp:BoundField DataField="VGMREMUNERACAO" HeaderText="Remuneração:" 
                SortExpression="VGMREMUNERACAO" />
            <asp:BoundField DataField="VGCREQUISITOS" HeaderText="Requisitos:" 
                SortExpression="VGCREQUISITOS" />
            <asp:BoundField DataField="VGCOBSERVACAO" HeaderText="Observações:" 
                SortExpression="VGCOBSERVACAO" />
            <asp:CommandField ButtonType="Button" CancelText="Cancelar" 
                DeleteText="Deletar" EditText="Editar" InsertText="Inserir" NewText="Nova" 
                ShowDeleteButton="True" ShowInsertButton="True" ShowSelectButton="True" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:PortalvaleConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:PortalvaleConnectionString.ProviderName %>" 
        SelectCommand="SELECT [VGCDESCRICAO], [VGNCARGAHORARIA], [VGNDURACAODIAS], [VGMREMUNERACAO], [VGCREQUISITOS], [VGCOBSERVACAO], [VGDDATACADASTRO] FROM [VAGA]">
    </asp:SqlDataSource>
    <br /> 
</div>
</asp:Content>
